# $Id: PKGBUILD 183628 2013-04-25 17:51:21Z ioni $
#Maintainer: Ionut Biru <ibiru@archlinux.org>

pkgname=libdmapsharing
pkgver=2.9.17
pkgrel=1
pkgdesc="A library that implements the DMAP family of protocols"
arch=('i686' 'x86_64')
url="http://www.flyn.org/projects/libdmapsharing/index.html"
license=('LGPL2.1')
depends=('libsoup' 'avahi' 'gst-plugins-base-libs' 'gdk-pixbuf2')
options=('!libtool')
source=(http://www.flyn.org/projects/libdmapsharing/$pkgname-$pkgver.tar.gz)
md5sums=('089e70ed4fb3b92dcd956b80dbf3ffc9')

build() {
  cd $pkgname-$pkgver

  ./configure --prefix=/usr --with-mdns=avahi
  make
}

package() {
  cd $pkgname-$pkgver
  make DESTDIR="$pkgdir" install
}
